package shiqi.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: ascend
 * @description: 控制类异常测试控制器
 * @author: shiqi
 * @create: 2022-03-18 21:11
 **/
@RestController
@RequestMapping("/err")
public class ExceptionController {


    @RequestMapping("/test")
    public String testErr() throws Exception {
        throw new Exception("啥玩意");
    }
}
